package com.manli.api.dto;

import lombok.Data;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import java.io.Serializable;
import java.util.Date;

/**
 * 
 * 
 * @author manli
 * @email 
 * @date 2020-05-12 09:11:18
 */
@ApiModel(value = "GoodsModel")
@Data
public class GoodsModel implements Serializable {

	/**
	 * 唯一标识
	 */

    @ApiModelProperty(value = "唯一标识",dataType = "Integer")
	    private Integer goodsModelId;
	/**
	 * goods_def_id
	 */

    @ApiModelProperty(value = "goods_def_id",dataType = "Integer")
	    private Integer goodsDefId;
	/**
	 * 商品规格名称
	 */

    @ApiModelProperty(value = "商品规格名称",dataType = "String")
	    private String goodsModelName;
	/**
	 * 商品数量
	 */

    @ApiModelProperty(value = "商品数量",dataType = "Integer")
	    private Integer goodsTotal;
	/**
	 * 成本价
	 */

    @ApiModelProperty(value = "成本价",dataType = "Double")
	    private Double goodsModelCost;
	/**
	 * 销售价
	 */

    @ApiModelProperty(value = "销售价",dataType = "Double")
	    private Double goodsModelSalePrice;
	/**
	 * 渠道价(给系统代卖,系统会做推广,则商户收到的利润是channel_price - cost ,系统的利润是sale_price-channel_price）
	 */

    @ApiModelProperty(value = "渠道价(给系统代卖,系统会做推广,则商户收到的利润是channel_price - cost ,系统的利润是sale_price-channel_price）",dataType = "Double")
	    private Double goodsModelChannelPrice;

	/**
	 * 原价
	 */

	@ApiModelProperty(value = "原价",dataType = "Double")
	private Double goodsModelSourcePrice;



	/**
	 * 0禁用 1启用
	 */

    @ApiModelProperty(value = "0禁用 1启用",dataType = "Integer")
	    private Integer status;

	/**
	 * 机构名称
	 */

	@ApiModelProperty(value = "机构名称",dataType = "String")
	private String branchName;

	/**
	 * 分店名称
	 */

	@ApiModelProperty(value = "分店名称",dataType = "String")
	private String partnerName;

	/**
	 * 商品名称
	 */

	@ApiModelProperty(value = "商品名称",dataType = "String")
	private String goodsName;

	/**
	 * 状态
	 */

	@ApiModelProperty(value = "状态",dataType = "String")
	private String statusName;

	/**
	 * 已售多少
	 */
	@ApiModelProperty(value = "已售多少",dataType = "Integer")
	private Integer salesCount;

	/**
	 * 可用库存多少
	 */
	@ApiModelProperty(value = "库存多少",dataType = "Integer")
	private Integer stockCount;


}
